From 5329bbb47aa5fd5629918dc6050befa95118a6da Mon Sep 17 00:00:00 2001
From: memdmp <memdmp@estrogen.zone>
Date: Wed, 14 Jan 2026 18:14:05 +0100
Subject: fix: logic error

---
 src/routes/blog/[id=int]/+page.svelte | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

(limited to 'src/routes/blog/[id=int]/+page.svelte')

diff --git a/src/routes/blog/[id=int]/+page.svelte b/src/routes/blog/[id=int]/+page.svelte
index bb6445c..1d8d691 100644
--- a/src/routes/blog/[id=int]/+page.svelte
+++ b/src/routes/blog/[id=int]/+page.svelte
@@ -17,9 +17,7 @@
         id: data.post.metadata.id.toString(),
         slug: data.post.metadata.slug,
       }),
-    ) + building
-      ? ''
-      : `${page.url.search}${page.url.hash}`;
+    ) + (building ? '' : `${page.url.search}${page.url.hash}`);
 
   onMount(() => {
     tick().then(() => replaceState(route(), page.state));
-- 
cgit v1.2.3

